package com.bawei.yangzongcai___chenmei.BlankFragment.Blanck1;


import android.view.View;
import android.view.animation.Animation;
import android.view.animation.AnimationUtils;
import android.widget.Button;
import android.widget.ImageView;

import com.bawei.yangzongcai___chenmei.MVC.BsaeFragment;
import com.bawei.yangzongcai___chenmei.R;


public class BlankFragmentZhu4 extends BsaeFragment {


    private Button zhu4Qidong;
    private ImageView zhu4Img;

    @Override
    public int bandLayout() {
        return R.layout.fragment_blank_fragment_zhu4;
    }

    @Override
    public void initView() {

        zhu4Qidong = findbandid(R.id.zhu4_qidong);
        zhu4Img = findbandid(R.id.zhu4_img);
    }

    @Override
    public void initDate() {
        final Animation animation = AnimationUtils.loadAnimation(getActivity(),R.anim.liziru);
        zhu4Qidong.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
               zhu4Img.startAnimation(animation);
            }
        });
    }
}
